using System;
using System.Collections.Generic;
using System.Text;
using SqlSugar;

namespace NP.BPMReportPlatform.Entities.BPM_Business
{
    /// <summary>
    /// 课程培训主表
    /// </summary>
    [SugarTable("CourseTrain")]
    public class CourseTrainEntity
    {
        /// <summary>
        /// 培训课程id 
        /// </summary>
        [SugarColumn(ColumnName = "CourseTrainId", IsPrimaryKey = true)]
        public string CourseTrainId { get; set; }

        /// <summary>
        /// 所属公司 
        /// </summary>
        [SugarColumn(ColumnName = "Company")]
        public string Company { get; set; }

        /// <summary>
        /// 所属部门 
        /// </summary>
        [SugarColumn(ColumnName = "Department")]
        public string Department { get; set; }

        /// <summary>
        /// 培训年月 
        /// </summary>
        [SugarColumn(ColumnName = "TrainDate")]
        public DateTime? TrainDate { get; set; }

        /// <summary>
        /// 培训项目名称 
        /// </summary>
        [SugarColumn(ColumnName = "ProjectName")]
        public string ProjectName { get; set; }

        /// <summary>
        /// 培训目标 
        /// </summary>
        [SugarColumn(ColumnName = "Target")]
        public string Target { get; set; }

        /// <summary>
        /// 培训原因 
        /// </summary>
        [SugarColumn(ColumnName = "Reason")]
        public string Reason { get; set; }

        /// <summary>
        /// 培训人数 
        /// </summary>
        [SugarColumn(ColumnName = "TrainUserNumber")]
        public int? TrainUserNumber { get; set; }

        /// <summary>
        /// 培训预算 
        /// </summary>
        [SugarColumn(ColumnName = "TrainBudget")]
        public decimal? TrainBudget { get; set; }

        /// <summary>
        /// 用餐总次数 
        /// </summary>
        [SugarColumn(ColumnName = "MealFrequency")]
        public int? MealFrequency { get; set; }

        /// <summary>
        /// 是否预算内 
        /// </summary>
        [SugarColumn(ColumnName = "IfInBudget")]
        public bool? IfInBudget { get; set; }

        /// <summary>
        /// 实例编号
        /// </summary>
        public string InstanceNumber { get; set; }

        /// <summary>
        /// 发起人姓名
        /// </summary>
        public string CreateUserName { get; set; }

        /// <summary>
        /// 发起人工号
        /// </summary>
        public string WorkNumber { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 培训课程状态
        /// </summary>
        public int? Status { get; set; }

        /// <summary>
        /// 培训课程状态
        /// </summary>
        public string StatusName { get; set; }
    }
}
